const http = require('http')
const serve = http.createServer()
serve.on('request', (request, response) => {
    // 防止乱码()
   response.setHeader('Content-Type', 'text/html; charset=utf-8')
   response.end('返回给客户端的数据')
})
const cpus = require('os').cpus();
console.log(cpus.length);
serve.listen(8090, () => {
  console.log('ok')
})